# -*- coding: utf-8 -*-
from distutils.core import setup
import py2exe

options = {"py2exe": {
    "includes": [],
    "optimize": 2,
    "bundle_files": 1,
    "dll_excludes": ["MSVCP90.dll", 'w9xpopen.exe'],
    "compressed": 3,
    "dist_dir":"../release"
}}
setup(
    version=__import__("value",["__version__"]).__version__,
    description="text editor code by tzh",
    name="text editor",
    options=options,
    zipfile=None,
    # zipfile='lib.egg',
    windows=[{
                "script": "main.py",
                # "icon_resources": [(0, "..//res//tzh.icns")]
                #,"uac_info": "requireAdministrator"
            }], requires=['PySide', 'chardet']
    #console=[],
    #requires=['PySide', 'PySide'],
    #data_files=[("res", ["res/a.png"])]#,
)
